_t_a_r_g_e_t The histogram whose parameters are to be set. Must be
one of GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT or GGGGLLLL____PPPPRRRROOOOXXXXYYYY____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT.
_w_i_d_t_h The number of entries in the histogram table. Must be a
power of 2.
_i_n_t_e_r_n_a_l_f_o_r_m_a_t The format of entries in the histogram table. Must be
one of GGGGLLLL____AAAALLLLPPPPHHHHAAAA, GGGGLLLL____AAAALLLLPPPPHHHHAAAA4444____EEEEXXXXTTTT, GGGGLLLL____AAAALLLLPPPPHHHHAAAA8888____EEEEXXXXTTTT,
GGGGLLLL____RRRRGGGGBBBBAAAA8888____EEEEXXXXTTTT, GGGGLLLL____RRRRGGGGBBBB11110000____AAAA2222____EEEEXXXXTTTT, GGGGLLLL____RRRRGGGGBBBBAAAA11112222____EEEEXXXXTTTT, or
When _t_a_r_g_e_t is GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT, ggggllllHHHHiiiissssttttooooggggrrrraaaammmmEEEEXXXXTTTT redefines the current
histogram table to have _w_i_d_t_h entries of the format specified by
_i_n_t_e_r_n_a_l_f_o_r_m_a_t. The entries are indexed 0 through _w_i_d_t_h-1, and all
entries are initialized to zero. The values in the previous histogram
table, if any, are lost. If _s_i_n_k is GGGGLLLL____TTTTRRRRUUUUEEEE, then pixels are discarded
after histogramming; no further processing of the pixels takes place, and
no drawing, texture loading, or pixel readback will result.
When _t_a_r_g_e_t is GGGGLLLL____PPPPRRRROOOOXXXXYYYY____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT, ggggllllHHHHiiiissssttttooooggggrrrraaaammmmEEEEXXXXTTTT computes all state
information as if the histogram table was to be redefined, but does not
actually define the new table. If the requested histogram table is too
large to be supported, then the state information will be set to zero.
This provides a way to determine if a histogram table with the given
parameters can be supported.
The histogram state information may be queried by calling
ggggllllGGGGeeeettttHHHHiiiissssttttooooggggrrrraaaammmmPPPPaaaarrrraaaammmmeeeetttteeeerrrrEEEEXXXXTTTT with a _t_a_r_g_e_t of GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT (to obtain
information for the current histogram table) or GGGGLLLL____PPPPRRRROOOOXXXXYYYY____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT
(to obtain information from the most recent proxy request) and one of the
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____FFFFOOOORRRRMMMMAAAATTTT____EEEEXXXXTTTT Internal format
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____RRRREEEEDDDD____SSSSIIIIZZZZEEEE____EEEEXXXXTTTT Red component counter size, in bits
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____GGGGRRRREEEEEEEENNNN____SSSSIIIIZZZZEEEE____EEEEXXXXTTTT Green component counter size, in bits
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____BBBBLLLLUUUUEEEE____SSSSIIIIZZZZEEEE____EEEEXXXXTTTT Blue component counter size, in bits
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____AAAALLLLPPPPHHHHAAAA____SSSSIIIIZZZZEEEE____EEEEXXXXTTTT Alpha component counter size, in bits
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____LLLLUUUUMMMMIIIINNNNAAAANNNNCCCCEEEE____SSSSIIIIZZZZEEEE____EEEEXXXXTTTT Luminance component counter size, in bits
GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____SSSSIIIINNNNKKKK____EEEEXXXXTTTT Value of the _s_i_n_k parameter
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _t_a_r_g_e_t is not one of the allowable
values.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____VVVVAAAALLLLUUUUEEEE is generated if _w_i_d_t_h is less than zero or is not a
power of 2.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _i_n_t_e_r_n_a_l_f_o_r_m_a_t is not one of the
allowable values.
GGGGLLLL____TTTTAAAABBBBLLLLEEEE____TTTTOOOOOOOO____LLLLAAAARRRRGGGGEEEE____EEEEXXXXTTTT is generated if _t_a_r_g_e_t is GGGGLLLL____HHHHIIIISSSSTTTTOOOOGGGGRRRRAAAAMMMM____EEEEXXXXTTTT and the
histogram table specified is too large for the implementation.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllHHHHiiiissssttttooooggggrrrraaaammmmEEEEXXXXTTTT is executed between
the execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
On RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee, RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee2222, and VVVVTTTTXXXX systems, histogram and minmax